package com.waves.chat.domain.dto.chat;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;


/**
 * 聊天信息点播
 * Description: 消息发送请求体
 * Author: dlw
 * Date: 2024-03-23
 *
 * @author
 * @date 2024/06/30
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ChatMessageDTO {
    /**
     * 房间id
     */
    @NotNull
    private Long roomId;

    /**
     * 消息类型
     */
    @NotNull
    private Integer msgType;

    /**
     * 消息内容,类型不同传值不同
     */
    @NotNull
    private Object body;

}
